<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/vue-2.6.10.js"></script>

</head>
<body>
<div id="app">
    {{message}}
</div>
<script type="text/javascript">
    var app=new Vue({
        //渲染元素
        el:"#app",
        data:{
            message:""
        },
        //钩子函数
        created(){
            alert("hello 今天还不错？？");
          this.message="今天天气真不错!!!!";
          console.log(this);
        }


    })
</script>
</body>
</html>